<!-- 我的基础 -->

<template>
  <div>
    <MajorTitle title="基本信息">
      <ShowStatus bind="eventLevelCode" :dict="DICT.LEVEL" noLabel auto />
    </MajorTitle>

    <EasyRow col3>
      <ShowText label="事件编号" bind="id" />
      <ShowDict label="事件类型" bind="eventTypeId, eventTypeName" :dict="CORE.DICT.preplan_type" />
      <ShowTime label="产生时间" bind="generateTime" />
    </EasyRow>

    <ShowTree :label="`所在${CORE.MAP.REGION}`" bind="areaId, areaName" :dict="CORE.REGION.DICT" allName />

    <ShowTextMulti label="事件详情" bind="detail" />

    <ShowImage v-if="!CORE.isEmpty(one.imageList)" bind="imageList" pathKey="fileUrl" />

    <EasyRow v-if="!CORE.isEmpty(one.videoList)" col3>
      <ShowVideo bind="videoList" />
    </EasyRow>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyBase',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
